/* 声明字体图标这里一定要注意路径的变化 */

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?tomleg');
    src: url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?tomleg') format('truetype'), url('../fonts/icomoon.woff?tomleg') format('woff'), url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


/* 版心 */

.width {
    width: 1200px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.style_red {
    color: #c81623;
}

.w {
    width: 1200px;
    margin: 0 auto;
}


/* 快捷导航模块  */

.shortcut {
    height: 31px;
    background-color: #f1f1f1;
    line-height: 31px;
}

.shortcut ul li {
    float: left;
    font-size: 10px;
    color: #666;
}


/* 选择所有的偶数的小li */

.shortcut .fr ul li:nth-child(even) {
    width: 0.5px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px;
}

.arrow-icon::after {
    content: '\e91e';
    font-family: 'icomoon';
    margin-left: 9px;
}


/* header 头部制作 */

.header {
    position: relative;
    height: 105px;
    /* background-color: pink; */
}

.logo {
    position: absolute;
    top: 29px;
    width: 175px;
    height: 56px;
    /* margin-top: 29px; */
}

.logo a {
    display: block;
    width: 175px;
    height: 56px;
    background: url(../images/logo.png) no-repeat;
    /* font-size: 0; */
    text-indent: -9999px;
    /* 溢出隐藏 */
    overflow: hidden;
}

.search {
    position: absolute;
    top: 25px;
    left: 346px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    float: left;
    height: 32px;
    width: 454px;
    padding-left: 10px;
    /* 首行缩进 */
    /* text-indent: 10px; */
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
}

.hotword {
    position: absolute;
    top: 66px;
    left: 346px;
    font-size: 12px;
}

.hotword a {
    margin: 0 10px;
}

.shopcar {
    position: absolute;
    right: 60px;
    top: 25px;
    font-size: 12px;
    float: right;
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}

.shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #b1191a;
}

.shopcar::after {
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 10px;
}

.count {
    /* 行高会继承  */
    position: absolute;
    /* right: 20px; */
    /* 比较符合中国人的习惯 */
    left: 105px;
    top: -5px;
    height: 14px;
    line-height: 14px;
    color: #fff;
    background-color: #e60012;
    padding: 0 5px;
    /* 顺时针 */
    border-radius: 7px 7px 7px 0;
}

.nav {
    /* 要包括下边界的线宽 */
    height: 47px;
    border-bottom: 2px solid #b1191a;
}

.nav .dropdown {
    float: left;
    width: 210px;
    background-color: #b1191a;
    height: 46px;
}

.nav .navitems {
    float: left;
}

.dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    /* 水平居中 */
    text-align: center;
    /* 垂直居中 */
    line-height: 45px;
    font-size: 16px;
}

.dropdown .dd {
    /* 隐藏 */
    /* display: none; */
    width: 210px;
    height: 466px;
    background-color: #c81623;
    margin-top: 0.5px;
}

.dropdown .dd ul li {
    position: relative;
    height: 31px;
    /* 水平居中 */
    text-align: left;
    padding-left: 10px;
    margin-left: 2px;
    /* 垂直居中 */
    line-height: 31px;
    color: #fff;
}

.dropdown .dd ul li:hover {
    background-color: #fff;
    color: #c81623;
}

.dropdown .dd ul li:hover a {
    color: #c81623;
}

.dropdown .dd ul li a {
    color: #fff;
    font-size: 14px;
}


/* .dd ul li {
    display: block;
    padding: left 2px;
    color: #fff;
} */

.dropdown .dd ul li::after {
    position: absolute;
    top: 1px;
    right: 10px;
    content: '\e920';
    font-family: 'icomoon';
    /* margin-right: 30px; */
    color: #f4eaeb;
    font-size: 14px;
}

.dd ul li::after:hover {
    color: #c81623;
}

.nav .navitems {
    float: left;
    margin-left: 10px;
    width: 730px;
    background-color: #fff;
    height: 45px;
}


/*  
.navitems ul li {
    display: block;
    float: left;
    /* box-sizing: border-box; */


/* margin-left: 37px;  */


/* width: 75px; */


/* line-height: 45px;
    text-align: center;
    font-size: 16px; */


/* }  */

.navitems ul li {
    float: left;
}

.navitems ul li a {
    /* a  是行内元素不可以直接设置高度 */
    display: block;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 24px;
}


/* 底部模块制作  */

.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 27px;
}


/* 这块为什么不可以用.footer .mod_service？ */

.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}

.mod_service ul li {
    float: left;
    width: 300px;
    height: 50px;
    /* background-color: pink; */
    padding-left: 35px;
}

.mod_service ul li h5 {
    /* 图片浮动文字就会围绕着图片 */
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 8px;
}

.mod_service .img1 {
    background: url(../images/icons.png) no-repeat -252px -2px;
}

.mod_service .img2 {
    background: url(../images/icons.png) no-repeat -254px -54px;
}

.mod_service .img3 {
    background: url(../images/icons.png) no-repeat -256px -106px;
}

.mod_service .img4 {
    background: url(../images/icons.png) no-repeat -258px -157px;
}

.mod_service ul li div h4 {
    font-size: 14px;
}

.mod_service ul li div p {
    font-size: 12px;
}

.mod_help {
    height: 185px;
    /* background-color: pink; */
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    padding-left: 50px;
}

.mod_help dl {
    float: left;
    width: 200px;
}


/* 最后一个比较特殊 */

.mod_help dl:last-child {
    width: 90px;
    text-align: center;
}

.mod_help dl dt {
    font-size: 16px;
    margin-bottom: 10px;
}

.mod_copyright {
    padding-top: 20px;
    /* padding-left: 118px; */
    text-align: center;
}

.mod_copyright .links {
    margin-bottom: 15px;
    font-size: 12px;
}

.links a {
    display: inline-block;
    margin: 0 9px;
}

.mod_copyright .copyright {
    line-height: 20px;
}